package com.ruoyi.cms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.cms.entity.req.MyFavoriteListReq;
import com.ruoyi.cms.entity.resp.ModelListResp;
import com.ruoyi.common.core.domain.R;

import java.util.Set;

/**
 * 模型收藏Service接口
 */
public interface ModelFavoriteService {

    R<Integer> favorite(Long modelId);

    R<Integer> cancelFavorite(Long modelId);

    Set<Long> getFavoriteList();

    R<Page<ModelListResp>> myFavoriteList(MyFavoriteListReq req);
}
